package org.darcy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.darcy.entity.CheckDelivery;
import org.darcy.framework.generic.GenericDao;
import org.darcy.vo.project.CapitalItem;
import org.darcy.vo.project.CapitalSummary;
import org.darcy.vo.project.HomeSummary;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * CheckDelivery dao层
 */
public interface CheckDeliveryMapper extends GenericDao<CheckDelivery> {

	/**
	 * 分页查询派工单
	 */
	IPage<CheckDelivery> getPage(IPage<CheckDelivery> page, @Param("param") CheckDelivery param);

	/**
	 * 获取首页统计数据：派工单列表
	 * 
	 */
	List<CheckDelivery> getHomeSummary(HomeSummary param);

	/**
	 * 获取财务统计数据（按业务类别、用户、部门分组）
	 * 
	 */
	List<CapitalItem> getCapitalSummary(CapitalSummary param);

}
